﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VideoSystem;
using VideoSystem.Model;
using VideoSystem.Ctrl;

namespace VideoSystem.Ctrl
{
    public class PushCtrl
    {
        public void StartPush(int episodeId)
        {
            UserCtrl userCtrl = new UserCtrl();
            List<User> users = userCtrl.getAllAppUsers();

            OptionCtrl optionCtrl = new OptionCtrl();
            Option option = optionCtrl.GetOptionForId(episodeId);

            Push push = new Push();
            push.StartPush(users, option);

        }
    }
}
